mergMKAddPolygonOverlay
Type
function
Summary
Returns an id for the overlay that was created
Syntax
mergMKAddPolygonOverlay(<pCoordinates>, [<pLineWidth>], [<pLineColor>], [<pFillColor>])
Description
Returns an id for the overlay that was created
Parameters
Name | Type | Description |
---|---|---|
pCoordinates | a list of locations (one per line) in decimal coordinates (latitude,longitude) | |
pLineWidth | (optional with 3 default) the width of the line in points defaults to 3 | |
pLineColor | (optional with "0,0,0,0" default) the color of the line defaults to opaque red. The string is an RGB value with each color component an integer between 0 and 255. An optional fourth item between 0 and 255 may be included to represent the alpha transparency. | |
pFillColor | (optional with "0,0,0,255" default) the color of the line defaults to opaque red. The string is an RGB value with each color component an integer between 0 and 255. An optional fourth item between 0 and 255 may be included to represent the alpha transparency. |
Examples
put mergMKAddPolygonOverlay(tCarpark,3,"0,255,0,100","0,255,0,150") into tOverlayID
Compatibility and Support
Introduced
LiveCode 8.0
OS
ios
Platforms
mobile